<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-03-10 23:27:20
 * @LastEditTime: 2023-07-26 09:46:19
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Http\Controllers\System;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Http\Services\System\TableService;

class TableController extends Controller
    {
    //
    public function __construct(TableService $service)
        {
        $this->service = $service;
        }
    public function list()
        {
        return $this->service->list();
        }
    protected function save(Request $req)
        {
        return $this->service->save($req);
        }

    protected function delete()
        {
        return $this->service->delete();
        }
    public function category()
        {
        return $this->service->category();
        }
    public function authColumn()
        {
        return $this->service->authColumn();
        }
    }